package Hotel.entity;

public class House {
	private String houseid;
	private String price;
	private String vipprice;
	private String state;
	private String housetype;
	
	public String getHouseid() {
		return houseid;
	}

	public void setHouseid(String houseid) {
		this.houseid = houseid;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getVipprice() {
		return vipprice;
	}

	public void setVipprice(String vipprice) {
		this.vipprice = vipprice;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getHousetype() {
		return housetype;
	}

	public void setHousetype(String housetype) {
		this.housetype = housetype;
	}
	
	public House(String houseid, String price, String vipprice, String state,
			String housetype) {
		super();
		this.houseid = houseid;
		this.price = price;
		this.vipprice = vipprice;
		this.state = state;
		this.housetype = housetype;
	}

	public House(String[] houseInfo) {
		// TODO Auto-generated constructor stub
		this.houseid = houseInfo[0];
		this.price = houseInfo[1];
		this.vipprice = houseInfo[2];
		this.state = houseInfo[3];
		this.housetype = houseInfo[4];
	}

	@Override
	public String toString() {
		return  houseid + ":" + price + ":"+ vipprice + ":" + state + ":" + housetype;
	}

}
